import request from '@/http';
import { DashboardResponse } from '@/types/dashboard';

export const dashboardService = {
  /**
   * 获取仪表盘数据
   */
  async getDashboardData(): Promise<DashboardResponse> {
    const response = await request.get('/api/dashboard_info/');
    return response.data;
  },
}; 